﻿#include "facade.h"

#include "systema.h"
#include "systemb.h"

Facade::Facade()
{
    m_systemA = new SystemA();
    m_systemB = new SystemB();
}

Facade::~Facade()
{
    delete m_systemA;
    delete m_systemB;
}

void Facade::wrapOperation()
{
    m_systemA->doOperateA();
    m_systemB->doOperateB();
}
